package com.qingcheng.entity;

import com.qingcheng.pojo.system.Resource;
import com.qingcheng.pojo.system.Role;

import java.io.Serializable;
import java.util.List;

public class RoleResourceResult implements Serializable {
    private Role role;
    private List<Resource> resourceList;

    public RoleResourceResult(Role role, List<Resource> resourceList) {
        this.role = role;
        this.resourceList = resourceList;
    }

    public RoleResourceResult() {
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public List<Resource> getResourceList() {
        return resourceList;
    }

    public void setResourceList(List<Resource> resourceList) {
        this.resourceList = resourceList;
    }

    @Override
    public String toString() {
        return "RoleResourceResult{" +
                "role=" + role +
                ", resourceList=" + resourceList +
                '}';
    }
}
